package com.xingkong.product.domain;


import com.xingkong.common.annotation.Excel;
import com.xingkong.common.core.domain.BaseEntity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableId;
import lombok.*;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.experimental.Accessors;

/**
 * 商品统计信息表 prdt_product_summary
 *
 * @author yiyue
 * @date 2020-03-15
 */
@Data
@Getter
@Setter
@ToString
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("prdt_product_summary")
public class ProductSummary extends BaseEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * null
     */
    @TableId("id")
    private Long id;

    /**
     * 商品id
     */
    @Excel(name = "商品id")
    private Long productId;

    /**
     * 点击量
     */
    @Excel(name = "点击量")
    private Long clickCount;

    /**
     * 总销量
     */
    @Excel(name = "总销量")
    private Long saleCount;

    /**
     * 总销售金额
     */
    @Excel(name = "总销售金额")
    private Double saleMoney;

    /**
     * 月销量
     */
    @Excel(name = "月销量")
    private Long monthSaleCount;

    /**
     * 月销售金额
     */
    @Excel(name = "月销售金额")
    private Double monthSaleMoney;

    /**
     * 评价量
     */
    @Excel(name = "评价量")
    private Long appraiseCount;

    /**
     * 好评量
     */
    @Excel(name = "好评量")
    private Long praiseCount;

}